package com.sang.mapper;

import com.sang.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;


@Service
public interface UserMapper {
    @Select("select * from tb_user where username = #{username}")
    User findById(@Param("username") String username);
}
